package com.qing.demo.netty.domain;

/**
 * @author caozhipeng
 * @date 2025/8/7
 * 消息协议
 */
public class MsgAgreement {

//    发送给某人，默认channelId
    private String toChannelId;
//    消息内容
    private String content;

    public MsgAgreement(String toChannelId, String content) {
        this.toChannelId = toChannelId;
        this.content = content;
    }

    public String getToChannelId() {
        return toChannelId;
    }

    public void setToChannelId(String toChannelId) {
        this.toChannelId = toChannelId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
